using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CannonCollisionListenner : MonoBehaviour
{
    public delegate void CannonHandler();
    public CannonHandler cannonHandler;

    public void CannonApplyEffection()
    {
        cannonHandler();
    }

    public void AddListener(CannonHandler handler)
    {
        cannonHandler += handler;
    }
}
